package day01;

public enum SingletonEnum {
    INSTANCE;

    public void doSomething() {
        System.out.println("doSomething");
    }

    public int add(int a, int b) {
        return a + b;
    }

    SingletonEnum() {
        System.out.println("创建了枚举类");
    }
}
